POST
/
api
/
v3
/
sites
/
invite
/
accept
Accept an invite
curl --request POST \
  --url https://cloud.volttime.com/api/v3/sites/invite/accept \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "token": "bngzmiyvdljnikhwaykcmyuwpwlvqwrsitcpscqldzsnrwtujwvlxjklqppwqbew",
  "team_uuid": "architecto"
}'
{
  "message": "Invite accepted successfully",
  "site_id": 123,
  "team_uuid": "abc-123-def",
  "is_owner": false,
  "data_access": true
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Body

application/json
token
string
required

Must be 64 characters.

Example:

"bngzmiyvdljnikhwaykcmyuwpwlvqwrsitcpscqldzsnrwtujwvlxjklqppwqbew"

team_uuid
string
required

The <code>uuid</code> of an existing record in the teams table.

Example:

"architecto"

Response

200 - application/json

Invite accepted successfully

message
string
Example:

"Invite accepted successfully"

site_id
integer
Example:

123

team_uuid
string
Example:

"abc-123-def"

is_owner
boolean
Example:

false

data_access
boolean
Example:

true